<!DOCTYPE html>
<html>
<head>
	<include file="Public:include_head" />
	<title><if condition="$info.class_id eq '1'">{$info.title}</if><if condition="$info.class_id eq '2'">{$info.ask.title}</if><if condition="$info.class_id eq '3'">{$info.content|mb_substr=###,0,20}... 来自{$info.nick_name}</if><if condition="$info.class_id eq '4'">{$info.content|mb_substr=###,0,20}... 来自{$info.nick_name}</if><if condition="$info.class_id eq '5'">{$info.title}</if><if condition="$info.class_id eq '7'">{$info.title}</if><if condition="$info.class_id eq '8'">{$info.title}</if><if condition="$info.class_id eq '11'">{$info.title}</if> | 百工宝</title>
	
	<style type="text/css">
		body{
			background:#f0f0f0;
		}
		.main{
			width:1170px;margin:0 auto;
		}
		.contents{
			 width: 800px; float:left;
		}
		.content{
			background:#ffffff;
			 background:#FFF; margin-top:10px;
			padding:10px;
		}
		.huifu{
			background:#ffffff;
		}
	</style>
</head>
<body >
        
    <include file="Public:head" />
    	
    	<div class="main">
    		
    		<div class="contents">
				<ul>
					
					<li>
						<div class="content">
							<img src="{$info.head_ico}" style="width:30px;height:30px;margin-right:10px;">
							{$info.nick_name}
							<h2>{$info.title}</h2>
							<p>{$info.content}</p>
				
							<notempty name="info.videos">
								<p>
									<video src="{$info.videos.0.video_url}" controls="controls" style="width:300px;">
										您的浏览器不支持 video 标签。
									</video>
								</p>
							</notempty>
				
							<volist name="info.imgs" id="co">
								<img src="{$co}" style="width:100%;">
						    </volist>
						    <notempty name="info.files">
									<p>
										<volist name="info.files" id="file">
											<a href="{$file.file_url}" target="_blank">
												<p style="background:#f3f3f3;margin:5px 0;">
													<img src="https://baigongbao.oss-cn-beijing.aliyuncs.com/img/file2.png" style="width:40px;height:40px;">
													{$file.file_name}
												</p>
											</a>
										</volist>
									</p>
							</notempty>
						    <p>{$info.create_time}</p>
						    <p style="margin:0 0 10px 0">
								<span>收藏</span>
								<span>|</span>
								<span>转发</span>
								<span>|</span>
								<span>回复{$info.answers_count}{$info.comment_count}</span>
								<span>|</span>
								<span>赞{$info.commend_count}</span>
							</p>	
						</div>
					</li>
				</ul>
				<div style="margin:10px 0;padding:10px;background:#FFF;">回复列表({$info.answers_count}{$info.comment_count})</div>
				<ul>
					<li>

						
						<volist name="info.comment" id="hf">

							<div class="content">
								<img src="{$hf.head_ico}" style="width:30px;height:30px;margin-right:10px;">
								{$hf.nick_name}
								<a href="/content/info/{$hf.id}">
									<p>{$hf.content}</p>
								</a>
								<volist name="hf.imgs" id="co">
									<img src="{$co}" style="width:30px;height:30px;margin-right:10px;">
							    </volist>
								<notempty name="hf.videos">
									<p>
										<video src="{$info.answers.videos.0.video_url}" controls="controls" style="width:300px;">
											您的浏览器不支持 video 标签。
										</video>
									</p>
								</notempty>
								<notempty name="hf.files">
									<p>
										<volist name="hf.files" id="file">
											<a href="{$file.file_url}" target="_blank">
												<p style="background:#f3f3f3;margin:5px 0;">
													<img src="https://baigongbao.oss-cn-beijing.aliyuncs.com/img/file2.png" style="width:40px;height:40px;">
													{$file.file_name}
												</p>
											</a>
										</volist>
									</p>
								</notempty>

							    <p style="margin:0 0 10px 0">
									<span>收藏</span>
									<span>|</span>
									<span>回复{$hf.answers_count}{$hf.comment_count}</span>
									<span>|</span>
									<span>赞{$hf.commend_count}</span>
								</p>
							</div>
						</volist>
						<volist name="info.answers" id="hf">
							<div class="content">

								<img src="{$hf.head_ico}" style="width:30px;height:30px;margin-right:10px;">
								{$hf.nick_name}
								<a href="/content/info/{$hf.id}">
									<p>{$hf.content}</p>
								</a>
								<volist name="hf.imgs" id="co">
									<img src="{$co}" style="width:30px;height:30px;margin-right:10px;">
							    </volist>
								<notempty name="hf.videos">
									<p>
										<video src="{$info.answers.videos.0.video_url}" controls="controls" style="width:300px;">
											您的浏览器不支持 video 标签。
										</video>
									</p>
								</notempty>
								<notempty name="hf.files">
									<p>
										<volist name="hf.files" id="file">
											<a href="{$file.file_url}" target="_blank">
												<p style="background:#f3f3f3;margin:5px 0;">
													<img src="https://baigongbao.oss-cn-beijing.aliyuncs.com/img/file2.png" style="width:40px;height:40px;">
													{$file.file_name}
												</p>
											</a>
										</volist>
									</p>
								</notempty>

							    <p style="margin:0 0 10px 0">
									<span>收藏</span>
									<span>|</span>
									<span>回复{$hf.answers_count}{$hf.comment_count}</span>
									<span>|</span>
									<span>赞{$hf.commend_count}</span>
								</p>
							</div>
						</volist>	
						</div>

					</li>
				</ul>
			</div>

			<include file="Public:roomlist" />
		</div>
		
</body>
</html>